package com.learn.sb.sblearnshardingjdbc.service.impl;

import com.learn.sb.sblearnshardingjdbc.dao.DictDao;
import com.learn.sb.sblearnshardingjdbc.pojo.Dict;
import com.learn.sb.sblearnshardingjdbc.service.DictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DictServiceImpl implements DictService {

	@Autowired
	private DictDao dictDao;

	@Override
	public Dict getByKey(String key) {
		return dictDao.getByKey(key);
	}
}
